package com.neusoft.service;

import java.util.List;
import com.neusoft.po.Orders;
import com.neusoft.po.DailyTotal;
public interface OrdersService {
    public int createOrders(Orders orders);

    public Orders getOrdersById(Integer orderId);

    public List<Orders> listOrdersByUserId(String userId);

    public int turnOrderState(Integer orderId);

    public List<Orders> listPaidOrdersByUserId(String userId);

    public int updateAddMark(Integer orderId,Integer addMark);

    public List<DailyTotal> listWeeklyTotalById(String userId);
    public List<DailyTotal> listMonthlyTotalById(String userId);
}